﻿using System.Collections.Generic;
using DomainModel;

namespace Repository.Abstract
{
    public interface IUserRepository : IRepository<User>
    {
        User GetByLogin(string login);
        User GetByEmail(string email);
        IEnumerable<User> GetByRole(Role role);
//        IList<User> GetByGroup(Group group);
//        IList<User> GetBySubgroup(Subgroup subgroup);
//        IList<User> GetNotApproved();
    }
}